ExamPlay Light Logo
Se connecter

Computer Science for IGCSE & O level - Programming (Section 13 - No. 44)

Which of the following are good practices when working with files?
Always close the file after use.
Open the file without specifying a mode.
Handle potential exceptions (errors).
Assume all files exist.

Explication

Closing files and handling exceptions are important aspects of file handling.

Commentaires (0)

Connectez-vous pour commenter
Publicité
BrainBehindX Inc Logo
©2026; Alimenté par BrainBehindX Inc